package com.dormitory_springboot.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class UtilitiesVO {
    private Integer id;

    private Integer studentId;

    private String studentName;

    private Integer dormitoryId;

    private String dormitoryName;

    private Integer buildingId;

    private String buildingName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private LocalDateTime updateDate;

    private BigDecimal actualWaterUsage;

    private BigDecimal actualElectricityUsage;

    private BigDecimal prepaidWaterAmount;

    private BigDecimal prepaidElectricityAmount;

    private BigDecimal remainingWaterAmount;

    private BigDecimal remainingElectricityAmount;
}
